package com.itheima.chapter2;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

//@ImportResource("classpath:beans.xml")      //加载自定义XML配置文件位置
@SpringBootApplication
@ComponentScan("com.itheima.*")
public class Chapter2Application {

    public static void main(String[] args) {
        SpringApplication.run(Chapter2Application.class, args);
    }

}
